If an environment variable of a container is declared multiple times with different values, it can become unclear which value will be used by the
application and can lead to unpredictable behavior. Also, if an issue arises related to the environment variable, debugging can be challenging. The
problem could be due to the overwritten variable, but this might take time to be noticeable.